package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 检测维护销售维修工作单表
 * </p>
 *
 * @author LX
 * @since 2018-09-28
 */
@TableName("erp_management")
public class ErpManagement extends Model<ErpManagement> {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 日期
     */
    private String dt;
    /**
     * 工作单号
     */
    @TableField("work_id")
    private String workId;
    /**
     * 客户名称
     */
    @TableField("client_name")
    private String clientName;
    /**
     * 车牌号
     */
    @TableField("car_number")
    private String carNumber;

    /**
     * 车牌号
     */
    @TableField("car_number1")
    private String carNumber1;
    /**
     * 工作项目
     */
    @TableField("work_project")
    private String workProject;
    /**
     * 购买
     */
    private Double purchase;
    /**
     * 销售
     */
    private Double sail;
    /**
     * 维修
     */
    @TableField("erp_repair")
    private Double erpRepair;
    /**
     * 维护
     */
    private Double maintian;
    /**
     * 现款
     */
    private Double cash;
    /**
     * 应收
     */
    private Double accounts;
    /**
     * 应付
     */
    private Double cope;
    /**
     * 业务经办人
     */
    @TableField("work_attn")
    private String workAttn;

    /**
     * 库管经办人
     */
    @TableField("kuguanattn")
    private String kuguanattn;

    public String getKuguanattn() {
        return kuguanattn;
    }

    public void setKuguanattn(String kuguanattn) {
        this.kuguanattn = kuguanattn;
    }


    /**
     * 财务经办人
     */
    @TableField("caiwuattn")
    private String caiwuattn;

    public String getCaiwuattn() {
        return caiwuattn;
    }

    public void setCaiwuattn(String caiwuattn) {
        this.caiwuattn = caiwuattn;
    }
    /**
     * 客户经办人
     */
    @TableField("client_attn")
    private String clientAttn;
    /**
     * 工作单位
     */
    @TableField("work_place")
    private String workPlace;
    /**
     * 连接
     */
    @TableField("master_id")
    private Integer masterId;
    private String attribute1;
    private String attribute2;
    private String attribute3;
    private String attribute4;
    private String attribute5;
    /**
     * 工作单所属客户id
     */
    @TableField("customer_id")
    private Integer customerId;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }


    @TableField("type")
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDt() {
        return dt;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getCarNumber1() {
        return carNumber1;
    }

    public void setCarNumber1(String carNumber1) {
        this.carNumber1 = carNumber1;
    }

    public String getWorkProject() {
        return workProject;
    }

    public void setWorkProject(String workProject) {
        this.workProject = workProject;
    }

    public Double getPurchase() {
        return purchase;
    }

    public void setPurchase(Double purchase) {
        this.purchase = purchase;
    }

    public Double getSail() {
        return sail;
    }

    public void setSail(Double sail) {
        this.sail = sail;
    }

    public Double getErpRepair() {
        return erpRepair;
    }

    public void setErpRepair(Double erpRepair) {
        this.erpRepair = erpRepair;
    }

    public Double getMaintian() {
        return maintian;
    }

    public void setMaintian(Double maintian) {
        this.maintian = maintian;
    }

    public Double getCash() {
        return cash;
    }

    public void setCash(Double cash) {
        this.cash = cash;
    }

    public Double getAccounts() {
        return accounts;
    }

    public void setAccounts(Double accounts) {
        this.accounts = accounts;
    }

    public Double getCope() {
        return cope;
    }

    public void setCope(Double cope) {
        this.cope = cope;
    }

    public String getWorkAttn() {
        return workAttn;
    }

    public void setWorkAttn(String workAttn) {
        this.workAttn = workAttn;
    }

    public String getClientAttn() {
        return clientAttn;
    }

    public void setClientAttn(String clientAttn) {
        this.clientAttn = clientAttn;
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }

    public Integer getMasterId() {
        return masterId;
    }

    public void setMasterId(Integer masterId) {
        this.masterId = masterId;
    }

    public String getAttribute1() {
        return attribute1;
    }

    public void setAttribute1(String attribute1) {
        this.attribute1 = attribute1;
    }

    public String getAttribute2() {
        return attribute2;
    }

    public void setAttribute2(String attribute2) {
        this.attribute2 = attribute2;
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3(String attribute3) {
        this.attribute3 = attribute3;
    }

    public String getAttribute4() {
        return attribute4;
    }

    public void setAttribute4(String attribute4) {
        this.attribute4 = attribute4;
    }

    public String getAttribute5() {
        return attribute5;
    }

    public void setAttribute5(String attribute5) {
        this.attribute5 = attribute5;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpManagement{" +
        ", id=" + id +
        ", dt=" + dt +
        ", workId=" + workId +
        ", clientName=" + clientName +
        ", carNumber=" + carNumber +
        ", workProject=" + workProject +
        ", purchase=" + purchase +
        ", sail=" + sail +
        ", erpRepair=" + erpRepair +
        ", maintian=" + maintian +
        ", cash=" + cash +
        ", accounts=" + accounts +
        ", cope=" + cope +
        ", workAttn=" + workAttn +
        ", clientAttn=" + clientAttn +
        ", workPlace=" + workPlace +
        ", masterId=" + masterId +
        ", attribute1=" + attribute1 +
        ", attribute2=" + attribute2 +
        ", attribute3=" + attribute3 +
        ", attribute4=" + attribute4 +
        ", attribute5=" + attribute5 +
        "}";
    }
}
